
package chatqueue;

import java.io.Serializable;
//import javax.jms.Destination;

public class ChatQueuePackage implements Serializable {
    
    //public Destination clientDestination = null;
    public boolean addToQueue = false;
    public String text;
    public int queueNumber;

    public ChatQueuePackage() {

    }

    public ChatQueuePackage(boolean addToQueue, String text) {
        //this.clientDestination = clientDestination;
        this.addToQueue = addToQueue;
        this.text = text;
    }

    public ChatQueuePackage(boolean addToQueue, String text, int queueNumber) {
        this(addToQueue, text);
        this.queueNumber = queueNumber;
    }

}
